package cn.itcast.dao;

import cn.itcast.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    Integer saveUser(User user);

    User getUserById(Integer id);

    List<User> getUsers(@Param("username") String username,@Param("sex") String sex);
}
